use serde::{Serialize, Deserialize};

/// 用户的信息
/// * 接口：`https://api.uyiban.com/officeTask/client/index/uncompletedList`
/// * 方式:GET
/// * 参数:CSRF,StartTime,EndTime
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct UncompletedTask {
    #[serde(rename = "TaskId")]
    pub task_id: String,
    #[serde(rename = "OrgId")]
    pub org_id: String,
    #[serde(rename = "TimeoutState")]
    pub timeout_state: i64,
    #[serde(rename = "State")]
    pub state: i64,
    #[serde(rename = "Title")]
    pub title: String,
    #[serde(rename = "Type")]
    pub type_field: i64,
    #[serde(rename = "StartTime")]
    pub start_time: i64,
    #[serde(rename = "EndTime")]
    pub end_time: i64,
}
